package com.gengealogy.net.po;

import java.sql.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Tree {
	//家族
	private int tree_id;//族谱id一个家族只有一个
	private int tree_clan_id;
	private String tree_name;
	private String tree_origin;
	private String tree_zuxun;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date tree_create_time;

	
	public Date getTree_create_time() {
		return tree_create_time;
	}


	public void setTree_create_time(Date tree_create_time) {
		this.tree_create_time = tree_create_time;
	}


	@Override
	public String toString() {
		return "Tree [族谱编号=" + tree_id + ", 家族标识=" + tree_clan_id + ", 族谱姓名=" + tree_name + ", 姓氏渊源=" + tree_origin
				+ ",祖训=" + tree_zuxun +  ",创建时间=" + tree_create_time +  "]";
	}



	public int getTree_id() {
		return tree_id;
	}


	public void setTree_id(int tree_id) {
		this.tree_id = tree_id;
	}


	public int getTree_clan_id() {
		return tree_clan_id;
	}


	public void setTree_clan_id(int tree_clan_id) {
		this.tree_clan_id = tree_clan_id;
	}


	public String getTree_name() {
		return tree_name;
	}


	public void setTree_name(String tree_name) {
		this.tree_name = tree_name;
	}


	public String getTree_origin() {
		return tree_origin;
	}


	public void setTree_origin(String tree_origin) {
		this.tree_origin = tree_origin;
	}


	public String getTree_zuxun() {
		return tree_zuxun;
	}


	public void setTree_zuxun(String tree_zuxun) {
		this.tree_zuxun = tree_zuxun;
	}
	

	
	


	
}
